<div id="top-menu">
    <ul>
    <?php if ($tab == "home") { ?>
        <li id="current"><a href="../home/index.php"><span><?php echo $headerLoc->getText("headerHome"); ?></span></a></li>
    <?php } else { ?>
        <li><a href="../home/index.php"><span><?php echo $headerLoc->getText("headerHome"); ?></span></a></li>
    <?php } ?>

    <?php if ($tab == "circulation") { ?>
        <li id="current"><a href="../circ/index.php"><span><?php echo $headerLoc->getText("headerCirculation"); ?></span></a></li>
    <?php } else { ?>
        <li><a href="../circ/index.php"><span><?php echo $headerLoc->getText("headerCirculation"); ?></span></a></li>  
    <?php } ?>

    <?php if ($tab == "cataloging") { ?>
        <li id="current"><a href="../catalog/index.php"><span><?php echo $headerLoc->getText("headerCataloging"); ?></span></a></li>
    <?php } else { ?>
        <li><a href="../catalog/index.php"><span><?php echo $headerLoc->getText("headerCataloging"); ?></span></a></li>
    <?php } ?>

    <?php if ($tab == "admin") { ?>
        <li id="current"><a href="../admin/index.php"><span><?php echo $headerLoc->getText("headerAdmin"); ?></span></a></li>
    <?php } else { ?>
        <li><a href="../admin/index.php"><span><?php echo $headerLoc->getText("headerAdmin"); ?></span></a></li>
    <?php } ?>

    <?php if ($tab == "reports") { ?>
        <li id="current"><a href="../reports/index.php"><span><?php echo $headerLoc->getText("headerReports"); ?></span></a></li>
    <?php } else { ?>
        <li><a href="../reports/index.php"><span><?php echo $headerLoc->getText("headerReports"); ?></span></a></li>
    <?php } ?>
    </ul>
</div>    